package com.lzh.constant;

public class RedisKey {

    private static final String BASE_KEY = "blog:";


    //登录通过的token
    public static final String USER_TOKEN = "user:token_%s";


    public static  final String USER_ONLINE_ZET = "online";

    public static String getKey(String key, Object... objects) {
        return BASE_KEY + String.format(key, objects);
    }
}
